package com.favccxx.search.domain.datasource.dataset;

import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author favccxx
 */
@Repository
public interface AbstractDataSetRepo extends MongoRepository<AbstractDataSet, String> {


    /**
     * Get data set list by data source id
     *
     * @param dataSourceId
     * @return
     */
    List<AbstractDataSet> findByDataSourceId(String dataSourceId);

}
